package java_objects.nested_class;

public class OuterClass {
	public void display() {
		System.out.println("In Outer class...");
	}

	class InnerClass {
		public void display() {
			System.out.println("In Inner class...");
		}
	}

	public static void main(String[] args) {
		new OuterClass().display();
		new OuterClass().new InnerClass().display();
	}
}
